function queryParams(params) {
	return {
		dictionaryType: $('#dictionaryType').val(),
	};
}
$('#reset').click(function() {
		 $('#dictionaryType').val(""),
		 $('#Dictionary').bootstrapTable('refresh', {url: '../DictionaryController/findByCondition.action'});  
		 
});




$(function() {

	$("#DictionaryForm").validate({
		rules: {		
			dictionaryType:"required",
			dictionaryKey:"required",
			dictionaryValue:"required",
		},
		errorPlacement: function (label, element) {
            $(element).tooltip('destroy'); /*必需*/
            $(element).attr('dictionary', $(label).text()).tooltip('show'); 
        },
	});
	
	init('Dictionary',600,350,"dictionaryId","数据字典");
	
	
     

});